<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      docbook-dsssl-1.79
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.78.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-2020-04-02">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 2020-04-02
      </h4>
      <h3>
        Chapter&nbsp;48.&nbsp;Standard Generalized Markup Language (SGML)
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="openjade.html" title=
          "OpenJade-1.3.2">Prev</a>
          <p>
            OpenJade-1.3.2
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="docbook-utils.html" title=
          "DocBook-utils-0.6.14">Next</a>
          <p>
            DocBook-utils-0.6.14
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="sgml.html" title=
          "Chapter&nbsp;48.&nbsp;Standard Generalized Markup Language (SGML)">
          Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="docbook-dsssl" name="docbook-dsssl"></a>docbook-dsssl-1.79
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to DocBook DSSSL Stylesheets
        </h2>
        <p>
          The <span class="application">DocBook DSSSL Stylesheets</span>
          package contains DSSSL stylesheets. These are used by <span class=
          "application">OpenJade</span> or other tools to transform SGML and
          XML DocBook files.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://downloads.sourceforge.net/docbook/docbook-dsssl-1.79.tar.bz2">
                https://downloads.sourceforge.net/docbook/docbook-dsssl-1.79.tar.bz2</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download (FTP): <a class="ulink" href=
                "ftp://ftp.mirrorservice.org/sites/distfiles.gentoo.org/distfiles/docbook-dsssl-1.79.tar.bz2">
                ftp://ftp.mirrorservice.org/sites/distfiles.gentoo.org/distfiles/docbook-dsssl-1.79.tar.bz2</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: bc192d23266b9a664ca0aba4a7794c7c
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 277 KB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 14 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: less than 0.1 SBU
              </p>
            </li>
          </ul>
        </div>
        <h3>
          Additional Downloads
        </h3>
        <div class="itemizedlist">
          <p class="title">
            <strong>Documentation and test data</strong>
          </p>
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://downloads.sourceforge.net/docbook/docbook-dsssl-doc-1.79.tar.bz2">
                https://downloads.sourceforge.net/docbook/docbook-dsssl-doc-1.79.tar.bz2</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: 9a7b809a21ab7d2749bb328334c380f2
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 142 KB
              </p>
            </li>
          </ul>
        </div>
        <h3>
          DocBook DSSSL Stylesheets Dependencies
        </h3>
        <h4>
          Required
        </h4>
        <p class="required">
          <a class="xref" href="sgml-common.html" title=
          "sgml-common-0.6.3">sgml-common-0.6.3</a>
        </p>
        <h4>
          Required (to Test the DocBook SGML Toolchain)
        </h4>
        <p class="required">
          <a class="xref" href="sgml-dtd-3.html" title=
          "docbook-3.1">docbook-3.1</a>, <a class="xref" href="sgml-dtd.html"
          title="docbook-4.5">docbook-4.5</a>, <a class="xref" href=
          "opensp.html" title="OpenSP-1.5.2">OpenSP-1.5.2</a>, and <a class=
          "xref" href="openjade.html" title=
          "OpenJade-1.3.2">OpenJade-1.3.2</a>
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/docbook-dsssl">http://wiki.linuxfromscratch.org/blfs/wiki/docbook-dsssl</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of DocBook DSSSL Stylesheets
        </h2>
        <p>
          If you downloaded the documentation, run:
        </p>
        <pre class="userinput">
<kbd class=
"command">tar -xf ../docbook-dsssl-doc-1.79.tar.bz2 --strip-components=1</kbd>
</pre>
        <p>
          Install <span class="application">DocBook DSSSL Stylesheets</span>
          by running the following commands as the <code class=
          "systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class=
"command">install -v -m755 bin/collateindex.pl /usr/bin                      &amp;&amp;
install -v -m644 bin/collateindex.pl.1 /usr/share/man/man1         &amp;&amp;
install -v -d -m755 /usr/share/sgml/docbook/dsssl-stylesheets-1.79 &amp;&amp;
cp -v -R * /usr/share/sgml/docbook/dsssl-stylesheets-1.79          &amp;&amp;

install-catalog --add /etc/sgml/dsssl-docbook-stylesheets.cat \
    /usr/share/sgml/docbook/dsssl-stylesheets-1.79/catalog         &amp;&amp;

install-catalog --add /etc/sgml/dsssl-docbook-stylesheets.cat \
    /usr/share/sgml/docbook/dsssl-stylesheets-1.79/common/catalog  &amp;&amp;

install-catalog --add /etc/sgml/sgml-docbook.cat              \
    /etc/sgml/dsssl-docbook-stylesheets.cat</kbd>
</pre>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          The above commands create an installation script for this package.
        </p>
      </div>
      <div class="testing" lang="en" xml:lang="en">
        <h2 class="sect2">
          Testing the DocBook SGML Toolchain (Optional)
        </h2>
        <p>
          The following commands will perform the necessary tests to confirm
          that your installed DocBook SGML toolchain will produce desired
          results. You must have the <a class="xref" href="sgml-dtd-3.html"
          title="docbook-3.1">docbook-3.1</a>, <a class="xref" href=
          "sgml-dtd.html" title="docbook-4.5">docbook-4.5</a>, <a class=
          "xref" href="opensp.html" title="OpenSP-1.5.2">OpenSP-1.5.2</a>,
          and <a class="xref" href="openjade.html" title=
          "OpenJade-1.3.2">OpenJade-1.3.2</a> packages installed, and perform
          the tests as the <code class="systemitem">root</code> user.
        </p>
        <p>
          All tests will be performed from the <code class=
          "filename">/usr/share/sgml/docbook/dsssl-stylesheets-1.79/doc/testdata</code>
          directory as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class=
"command">cd /usr/share/sgml/docbook/dsssl-stylesheets-1.79/doc/testdata</kbd>
</pre>
        <p>
          The first test should produce no output to stdout (your screen) and
          create a file named <code class="filename">jtest.rtf</code> in the
          current directory:
        </p>
        <pre class="root">
<kbd class="command">openjade -t rtf -d jtest.dsl jtest.sgm</kbd>
</pre>
        <p>
          The next test should return only the following line to stdout:
          <code class="computeroutput">onsgmls:I: "OpenSP" version
          "1.5.2"</code>
        </p>
        <pre class="root">
<kbd class="command">onsgmls -sv test.sgm</kbd>
</pre>
        <p>
          The next test should produce no output to stdout and create a file
          named <code class="filename">test.rtf</code> in the current
          directory:
        </p>
        <pre class="root">
<kbd class="command">openjade -t rtf \
    -d /usr/share/sgml/docbook/dsssl-stylesheets-1.79/print/docbook.dsl \
    test.sgm</kbd>
</pre>
        <p>
          The last test should produce no output to stdout and create a file
          named <code class="filename">c1.htm</code> in the current
          directory:
        </p>
        <pre class="root">
<kbd class="command">openjade -t sgml \
    -d /usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/docbook.dsl \
    test.sgm</kbd>
</pre>
        <p>
          Finally, clean up:
        </p>
        <pre class="root">
<kbd class="command">rm jtest.rtf test.rtf c1.htm</kbd>
</pre>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Program:</strong>
              <span class="segbody">collateindex.pl</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Libraries:</strong>
              <span class="segbody">None</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Files:</strong> <span class=
              "segbody">DSSSL stylesheets</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directory:</strong>
              <span class=
              "segbody">/usr/share/sgml/docbook/dsssl-stylesheets-1.79</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="collateindex.pl" name=
                    "collateindex.pl"></a><span class="term"><span class=
                    "command"><strong>collateindex.pl</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a <span class="application">Perl</span> script that
                    creates a DocBook index from raw index data.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-03-24 14:19:44 -0500
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="openjade.html" title=
          "OpenJade-1.3.2">Prev</a>
          <p>
            OpenJade-1.3.2
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="docbook-utils.html" title=
          "DocBook-utils-0.6.14">Next</a>
          <p>
            DocBook-utils-0.6.14
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="sgml.html" title=
          "Chapter&nbsp;48.&nbsp;Standard Generalized Markup Language (SGML)">
          Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
